import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import TDesign from 'tdesign-vue-next';

import vant from "vant"  //1.引入vant
import 'vant/lib/index.css'; //2.引入vant样式
// 引入封装的http
import http from './http'
import { Button } from 'vant';
// 2. 引入组件样式
import 'vant/lib/index.css';
// 3. 注册你需要的组件

const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(vant)
app.use(TDesign);
app.use(Button);

app.mount('#app')

